import tab from './tab';
import ElementIcons from './svgicon';
import { handleTree } from './tree';

import { App } from 'vue';

export default function installPlugin(app: App) {
  // 绑定全局对象
  app.config.globalProperties.$tab = tab;

  // 绑定全局方法
  app.config.globalProperties.handleTree = handleTree;

  // 绑定插件
  app.use(ElementIcons);
}
